class InitializeProtocol:
    def __init__(self, protocol):
        return protocol
        
class Actions:
    def connectTo(self, host, port): pass
    def loginAs(self, user, password): pass
    def touch(self, file): pass
    def mkDir(self, dir): pass
    def grabUrl(self, values): pass
    def rmUrl(self, url): pass
    def cdUrl(self, url): pass
    
class HTTP(Actions):
    def __init__(self, host):
        import urllib2

    def grabUrl(self, values):
        print "fs"
        try:
            a = urllib2.urlopen("http://www.python.org/blah.blah")
        except urllib2.HTTPError, msg:
            print "%s" % (msg) 
    
    